package cn.wolfcode.crm.query;

import org.springframework.util.StringUtils;


public class SafetyMechanismQueryObject extends QueryObject {
    private String keyword;
    private int state=-1;

    public int getState() {
        return state;
    }

    public void setState(int state) {
        this.state = state;
    }

    public String getKeyword() {
        return StringUtils.hasLength(keyword) ? keyword : null;
    }

    public void setKeyword(String keyword) {
        this.keyword = keyword;
    }
}
